package javase.abstract_gas_station;

abstract class Card {
    private String username;
    private Double Balance;

    abstract void discount(int consume);

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Double getBalance() {
        return Balance;
    }

    public void setBalance(Double balance) {
        Balance = balance;
    }
}
